<div class="admin_left">
    <div class="admin_header">
        <h1 class="site_title"><a href="{{url('admin')}}">Admin Site</a></h1>
    </div> <!-- end of header bar -->

    <div id="secondary_bar">
        <div class="user">
            <p> Hi, {{auth.getIdentity()['username']}}</p>
            <!-- <a class="logout_user" href="#" title="Logout">Logout</a> -->
        </div>   
    </div><!-- end of secondary bar -->

    <div id="sidebar" class="column">				
        <div style="min-height:450px">            
            <h3>General</h3>
            <ul class="toggle">
                {% if auth.getIdentity()['profile'] == 3 %}
                <li class="icn_new_article"><a href="{{url('admin/manage_page')}}">Trang</a></li>
                 {% endif %}
                <li class="icn_tags"><a href="{{url('admin/manage_contact')}}">Liên hệ</a></li>
            </ul>
            {% if auth.getIdentity()['profile'] == 3 %}
            <h3>Users</h3>
            <ul class="toggle">
                <li class="icn_view_users"><a href="{{url('admin/alluser')}}">Tất cả thành viên</a></li>
                <li class="icn_add_user"><a href="{{url('admin/add_user')}}">Thêm mới thành viên</a></li>
                <li class="icn_exchange"><a href="{{url('admin/exchange')}}">Lịch sử giao dịch</a></li>    
            </ul>
            <h3>Category</h3>
            <ul class="toggle">
                <li class="icn_categories"><a href="{{url('admin/manage_type')}}">Loại tài liệu</a></li>      
                <li class="icn_categories"><a href="{{url('admin/manage_topic')}}">Chủ đề</a></li>

            </ul>
            {% endif %}
            <h3>Documents</h3>
            <ul class="toggle">
                <li class="icn_folder"><a href="{{url('admin/alldoc')}}">Tất cả tài liệu</a></li>
                <li class="icn_new_article"><a href="{{url('admin/add_doc')}}">Thêm tài liệu</a></li>
                <li class="icn_upload"><a href="{{url('admin/user_upload')}}">Tài liệu user upload</a></li>                   
            </ul>           
            <h3>Personal</h3>
            <ul class="toggle">               
                <li class="icn_security"><a href="{{url('admin/security')}}">Bảo mật</a></li>
                <li class="icn_jump_back"><a href="{{url('admin/logout')}}">Đăng xuất</a></li>
            </ul>           
        </div>
        <footer>
            <hr />
            <p><strong>Copyright &copy; 2014 Website Admin</strong></p>
            <p>Theme by <a href="http://localhost/vids ">UIT-Doc</a></p>
        </footer>
    </div><!-- end of sidebar -->    
</div>

<div class="admin_right">
    <h2 class="title"> Manage </h2>
</div>
<div class="admin_breadcrumbs">
    <div class="breadscrumbs_conteiner">
        <article class="breadcrumbs"><a href="{{url('admin')}}">Admin</a> <div class="breadcrumb_divider"></div> <a class="current">Dashboard</a></article>
    </div>

</div>